pub mod config;
pub mod executor;
pub mod init;
pub mod parser;
pub mod preview;
pub mod ui;

// Code snippet structure (with ID)
#[derive(Debug, Clone)]
pub struct CodeSnippet {
    pub id: usize,                     // Unique numeric ID (list index)
    pub tag: String,                   // First line of code block, used for search
    pub code: String,                  // Actual code to be executed
    pub language: String,              // Language identifier of the code block
    pub file_path: std::path::PathBuf, // Path to the file
    pub line_number: usize,            // Starting line number of the code block in the file
    pub end_line: usize,               // Ending line number of the code block in the file
}
